package cn.xgj.sfzy.service;

import cn.xgj.sfzy.entity.Reply;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ReplyService {
    int add(Reply reply);
    //修改
    int edit(Reply reply);
    //删除
    int remove(Integer id);
    //查
    List<Reply> findAll(Reply reply);

    List<Reply> findByQuestionId(Integer id);
    //根据id
    Reply findById(Integer id);
    //分页查
    PageInfo<Reply> findByPage(Integer pageNum, Integer ageSize, Reply reply);

}
